#pragma once
using namespace std;
class CServer
{
private:
	multimap<string, string> friend_list;
	multimap<string, string> requests;
	map<string,Account> _user_;
public:
	CServer(void);
	bool Registration		(string name_, string password_);
	void parse				(__int8 *recv, std::string &ID,std::string &second);
	//void parse_ID_password	(__int8 *recv, std::string &ID, std::string &password);
	bool check_first_time	(string &ID);
	void DealWith			(char* msg, CSocket& X);
	void parse1				(__int8 *recv, std::string &ID);
	bool IsUser				(string username_);
	char* send(string temp_str);
	~CServer(void);
};